Sscanf
Name:
Sscanf ()-read data that matches the specified format from a string.
Function prototype:
Int sscanf (string STR, string FMT, mixed var1, mixed var2 ...);
Int scanf (const char * Format [, argument]...);
Note:
Similar to scanf, sscanf is
# Include
Define the function int sscanf (const char * STR, const char * format ,........);
Function DescriptionSscanf () converts and formats the STR string based on the format string. For more information about format conversion, see scanf ().
usage and examples of sscanf ()Here are some sscanf () some of the use of instructions, are from the Forum, blog organized out. For everyone to use.
Through the study and use of personal thinking, in the string format is not very complex, but it is
---restore content starts---It's been hit today, isn't it? By Zheng Light of the ACM teacher to my college guidance arranged a small game,, we actually have or lost to a freshman novice,, Hey, love,,, so still want to pay attention to the basic
Sscanf usageName:Sscanf ()-read data that matches the specified format from a string.Function prototype:Int sscanf (string STR, string FMT, mixed var1, mixed var2 ...);Int scanf (const char * Format [, argument]...);Note:Similar to scanf, sscanf is
/* Non-blog summary */
Sscanf
Name:Sscanf ()-read data that matches the specified format from a string.Function prototype:Int sscanf (string str, string fmt, mixed var1, mixed var2 ...);Int scanf (const char * format [, argument]...);Note:Similar
reproduced from: http://baike.baidu.com/view/1364018.htm
Name:SSCANF ()-Reads data from a string that matches the specified format. function prototypes: int sscanf (const char *, const char *, ...); int sscanf (const char *buffer,const char
Defines the function int sscanf (const char *str,const char * format,........);Function descriptionSSCANF () Converts the string of the parameter str according to the parameter format string and formats the data. Format conversion form please refer
Sscanf ()-read data that matches the specified format from a string.
Function prototype:
Int sscanf (const char *, const char *,...);Int scanf (const char *,...);
Header file:
# Include
Note:
Similar to scanf, sscanf is used for input, but the
A script reader has recently been written to this extremely important C function:(GO) sscanf ()-Reads data from a string that matches the specified formatSSCANF ()-Reads data in a string that matches the specified format.Function Prototypes:Int
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.